<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/a-print-kartu-buku.css">
<title>Bukti Pendaftaran</title>
</head>
<?php
require "config/koneksi.php";
require "config/library.php";
//require "lampiran/buktidaftar.php";
$username=$_SESSION['username'];
$sql="select * from tb_pendaftar where username='".$username."'";

$qry=mysql_query($sql);
$hasil=mysql_fetch_array($qry);
?>

<body id="common">
	<div id="page">
		<div id="header">
			
			<h2>TANDA BUKTI PENDAFTARAN</h2>
			<h1>SMK NEGERI 1 KEBUMEN</h1>
		</div>		
		<div id="content">
			<table class="table-one">
				<tr>
					<th>No. Pendaftaran</th>
					<th>:</th>
					<td><?php echo $hasil['no_pendaftaran']?></td>
				</tr>
				<tr>
					<th>Nama</th>
					<th>:</th>
					<td><?php echo $hasil['nama']?></td>
				</tr>
				<tr>
					<th>Asal Sekolah</th>
					<th>:</th>
					<td><?php echo $hasil['asal_sekolah']?></td>
				</tr>
				<tr>
					<th>Alamat</th>
					<th>:</th>
					<td><?php echo $hasil['alamat']?></td>
				</tr>
				<tr>
					<th>No HP</th>
					<th>:</th>
					<td><?php echo $hasil['no_hp']?></td>
				</tr>
				<tr>
					<th>Tgl Daftar</th>
					<th>:</th>
					<td><?php echo tgl_indonesia($hasil['tgl_daftar']);?></td>
				</tr>
				
				<tr>
					<th>Aksi</th>
					<th></th>
					<td></td>
				</tr>
				
		</table>
			
		</div>
	</div>



</body>
</html>
